package com.alibaba.citrus.ots.sales.plan.api.setting;

import com.alibaba.citrus.ots.sales.plan.dto.api.request.QuerySalesPlanStrategyDetailRequest;
import com.alibaba.citrus.ots.sales.plan.sdo.SalesPlanStrategyDetailSDO;
import com.alibaba.lattice2.epoch.meshflow.model.annotation.MeshFlowService;
import com.alibaba.lattice2.epoch.sdk.model.Result;

@MeshFlowService(apps = {"bc_ots"}, name = "salesPlanStrategyDetailWriteService")
public interface SalesPlanStrategyDetailWriteService {

    /*
     * 添加计划回复策略详情
     */
    Result<String> createSalesPlanStrategyDetail(SalesPlanStrategyDetailSDO  salesPlanStrategyDetailSDO);

    /**
     * 编辑计划策略详情
     */
    Result<Boolean> editSalesPlanDetail(SalesPlanStrategyDetailSDO  salesPlanStrategyDetailSDO);

    /**
     * 删除计划策略详情
     */
    Result<Boolean> delete(QuerySalesPlanStrategyDetailRequest querySalesPlanStrategyDetailRequest);
}
